package com.community.mapper;

import com.alibaba.druid.sql.PagerUtils;
import com.community.dto.PurchaseOrderDto;
import com.community.dto.SupplierProductDto;
import com.community.pojo.SupplierProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 供货商商品关联表 Mapper 接口
 * </p>
 *
 * @author TangHaoSong Fly ChenJie HeYuHang
 * @since 2024-05-15
 */
public interface SupplierProductMapper extends BaseMapper<SupplierProduct> {

    //查询供应商与商品供应商关联表
    List<SupplierProductDto> querySupplier(int productId);
    //查询供应商与商品供应商关联表与商品信息表
    List<PurchaseOrderDto> searchProduct(int id);
}
